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