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