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