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