Rhone purchases eggs from a local dairy farm. He finds 3 broken eggs. He uses half the remaining eggs to bake a few pancakes. If 5 eggs remain now, how many eggs did Rhone purchase from the farm?