Task: Mathematics
Input (English): x = 5, equation weights = [6, 1, 7, 2, 4]
Output (English): 4064