Puzzle on Graphics

Ask the user (via shell) for an x and a y. This is the Center of a Rectangle. Ask the user for two numbers, length and width of the Rectangle.

Draw the Rectangle on the graphics window. Do NOT use the center method available in Zelle's library. Calculate the coordinates of the two points (corner points) that you need for this object.

Put a small green dot at the location of the center point.