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