What am I doing wrong with this Vector program?

Printable View