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