Task: Mathematics
Input (English): x = 5, equation weights = [9, 5, 4]
Output (English): 254