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