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