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