glViewPort

I’m trying to make a 3D view port, but in the bottom right, a view port with a 2D perspective, I’ve tried multiple ways but it doesn’t seem to work, any help would be great.

Thank you

Nicky

EDIT

By the way, any programming langauge is fine to show me examples. Is there a specific language used around here?