Task: Mathematics
Input (English): x = 3, equation weights = [8, 5, 7, 4, 1]
Output (English): 859