Task: Mathematics
Input (English): x = 4, equation weights = [1, 0, 5, 3, 4]
Output (English): 352