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