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