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