How do I expand this code? I have no idea what my teacher wants.

Printable View