Task: Mathematics
Input (English): x = 4, equation weights = [1, 4, 9, 5, 8]
Output (English): 684