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