Task: Mathematics
Input (English): x = 5, equation weights = [6, 1, 2, 9]
Output (English): 794