Jonathan collects spiders and beetles. In total all the insects inhis collection have 76 legs and 11 heads. How many of each insect did he collect? (Note: beetles have 6 legs and spiders have 8 legs.)