Helena uses a mixture of compost and topsoil in her garden. She purchased a total of 10 cubic yards of compost and topsoil for $180. If compost costs $25 per cubic yard and topsoil costs $15 per cubic yard, how many cubic yards of topsoil did she purchase?