The two images were taken less the a second apart. The Taxi from the top image was cut and dropped into the bottom image. As the two images were taken together the lighting and shadows were the same.