Task: Mathematics
Input (English): x = 10, equation weights = [3, 8, 9]
Output (English): 389