Task: Mathematics
Input (English): x = 1, equation weights = [1, 7, 8, 6, 5]
Output (English): 27