attempt at vector graphics

Without sample input and sample output, I am not sure if this gives the appropriate solution.

According to how the problem is stated, this solution should work.