code for task 2 to print a SVG image