Task: Mathematics
Input (English): x = 9, equation weights = [4, 3, 7]
Output (English): 358