Task: Mathematics
Input (English): x = 5, equation weights = [7, 4, 3, 8]
Output (English): 998