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