Task: Mathematics
Input (English): x = 6, equation weights = [3, 9, 4, 2, 1]
Output (English): 5989