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