Task: Mathematics
Input (English): x = 3, equation weights = [7, 4, 0, 2]
Output (English): 227