picture in picture

In my new lab I have to write code to have a picture in picture but I’m not sure exactly how to go about it. Would I have to just use glutInitWindowSize(WIDTH, HEIGHT); and call it twice with a smaller resolution for the smaller picture? That’s what makes the most sense to me at the moment.