Drag each card onto the line where you think it belongs. (Or tap a card, then tap the line.)