Uncle Zack spent $36 at a book store. He bought science fiction and mystery novels. The science fiction novels cost $10 apiece and the mystery novels cost $2 apiece. If Uncle Zack bought 6 novels, how many of each type did he buy?

​ science fiction novels

​ mystery novels
PLEASE HELP!!!