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