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