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