How do you release the boxcar from the rest of the train??
Go to the most obvious location to release it. Inspect all the interactive spots. You should recognize that you need something to get this job done. Which item would make sense? Have you seen it before?
Another hint: This something is stored nearby in an obvious location on the train.