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