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