How to combine 2 image textures with 2 different UVs in a single texture?

how to combine 2 image textures with 2 different UVs?

Have you tried using a black and white mask for the input to a color mix node for the two images? We usually refer to it as a stencil but it’s the same thing.