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