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