How to use image as texture?

I am trying to make 3d model of a box. I made a mesh using Maya, and imported it in UE. I took images of all six sides of a real box, and I am planning to take them as texture. However, I am not sure how I would do that using Unreal. I have tried importing pictures. However, the pictures/texture does not scale as intended. I am a noob at both Maya and Unreal, and any help will be hugely appreciated.

i don’t use maya so Idk how outdated this video is, but it shows the basic idea.

basically you take a pic of the uv map add that as a layer in photoshop/krita whatever paint program you use. then line up the pictures you took with the uv map.

Well, I already did it in Maya. I have attached the picture.

However, when I import it to Unreal, The pictures on side appears upside down.

That’s odd I think a Maya user is going to have to help you. The only thing that I can think of is maybe the uv coordinates in Maya are different. A thing you could try is in ue4 take the texcoord and flip the r and g channels or maybe inverting them.
The nodes to experiment with that are the, component mask, one minus, and append.