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