Ryan earns $5 for each small dog he walks and $8 for each large dog he walks. Today he walked 9 dogs and made a total of $51. How many large dogs did Ryan walk?
Ryan walked _____ large dogs.