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