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