Task: Mathematics
Input (English): x = 5, equation weights = [9, 8, 2]
Output (English): 267