A thing what I want to do is as follows

I have two files in Painter 2020

1 original file (photo)  jpg

2 the same file which I have autopainted in Corel Essentials 7 riff

Can I do as follows;

Open both photos in Painter 2020. Underlying the original photo,

The other photo above the original

Erase areas from the upper photo, so that that areas from the underlying photo appears.

Please can you help me ?