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