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