A local farm raises horses and goats.
• Let x represent the number of horses on the farm.
• The number of goats is 5 less than the number of horses.
• The total number of horses and goats on the farm is 21.
What is x, the number of horses on the farm?