Task: Mathematics
Input (English): x = 3, equation weights = [9, 6, 2, 5]
Output (English): 308