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