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