a group of students went hiking in wildlife sanctuary. during the hike a total of 180 ticks and mosquitoes were slapped. if these pests had a total of 1240 legs, how many mosquitoes and how many ticks were slapped during the hike?(hint: ticks have 8 legs and mosquitoes have 6 legs)