Task: Mathematics
Input (English): x = 4, equation weights = [3, 8, 6, 7, 2]
Output (English): 1406