Task: Mathematics
Input (English): x = 2, equation weights = [3, 5, 2]
Output (English): 24