What blend mode is this?
That looks like multiplying the front image by the luminance of the shirt behind it.

There are multiple definitions of luminance but for a start, I think you could assume your data is sRGB and follow the transformation to CIE to get the CIE Y component.