Task: Mathematics
Input (English): x = 10, equation weights = [8, 7, 4]
Output (English): 874