Task: Mathematics
Input (English): x = 8, equation weights = [3, 7, 4]
Output (English): 252