Task: Mathematics
Input (English): x = 7, equation weights = [9, 8, 3, 2, 7]
Output (English): 24521