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