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