How do i create multiple windows with primitives in it?

hi ,i would like to know how i can create multiple windows output atthe same time with maybe a filled rectangle in one and a solid cone in another?I do know how to create the rectangle and cone but unsure about the window output?