Image on another in a grid

Hello,
I have these two images composition (it’s only one jpg), is it possible to do the same with a grid ? So i could change image directly each image in pro instead making it in photoshop each time ?
image

ok i just figured it out, sorry for bother