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