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