Task: Mathematics
Input (English): x = 9, equation weights = [1, 7, 2]
Output (English): 146