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