Legal steps for purchasing a property