Difference Matte effect
A.
Original image
B.
Background image
C.
Image on second track
D.
Final composite image