Task: Mathematics
Input (English): x = 7, equation weights = [4, 8, 2, 9]
Output (English): 1787