Do you mean like this?
Its pretty easy,all you do is layer a photo on top of the other and then use the erase tool set on 0% hardness.
Post up a photo of a car with the the bonnet open and one with the bonnet shut(From the same height and angle)
and i will do a tutorial.