Using the "nth-of-type()" in canvas and remove the one image

This sample code to using the "nth-of-type()" in canvas and remove the one image which you want to select. You can pass the number into "nth-of-type()"