Task: Mathematics
Input (English): x = 9, equation weights = [0, 9, 7, 4]
Output (English): 796