How to make gallery side by side and form also

I made a project, in it i want to make the images side by side , and also i want to make my form in center with labels on left side and input field on right side, i tried to make it but i can’t make it.

Here is the link to project i’ve made
https://codepen.io/hritik545/pen/xNwVwN?editors=1100

have a Look at “CHECK OTHER MODELS TO” in this i want to make them side by side, like 3 pics in first row and 2 in other.

And in form section i want form in center.

Revisit the lessons on Flexbox and/or Grid. Either one will help you accomplish what you want to do.