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