Task: Mathematics
Input (English): x = 7, equation weights = [5, 1, 2]
Output (English): 254