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