Magmic Interview Question

Give pseudo-code to create a rectangle centered in the Applet