franco sees 8 camels and counts 14 humps in all. some have 2 humps and some have one.how many camels with two humps did franco see?

h1 + h2 = 8

h1 + 2h2 = 14

solve for h1 and h2