A certain species of grasshopper can have red stripes, yellow stripes, or red and yellow stripes. An RR grasshopper has red stripes, an YY grasshopper has yellow stripes, and an RY grasshopper has red and yellow stripes.

Which type of inheritance is this an example of?

incomplete dominance
sex-linked inheritance ---- my answer
codominance
recessive inheritance

The type of inheritance described in the question is not sex-linked inheritance, but rather it is an example of codominance. In codominance, both alleles in a heterozygous individual are fully expressed, resulting in a phenotype that displays characteristics of both alleles. In this case, the RR grasshopper has red stripes, the YY grasshopper has yellow stripes, and the RY grasshopper has both red and yellow stripes. None of the alleles are dominant or recessive to each other; instead, they coexist and contribute to the phenotype in a distinctive way.

I don't know about grasshoppers, but with humans, sex-linked genes only occur on the X chromosome.

http://www.biologycorner.com/bio2/genetics/notes_incomplete_dominance.html

In the future, you can find the information you desire more quickly, if you use appropriate key words to do your own search. Also see http://hanlib.sou.edu/searchtools/.