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