if he has no brothers, you shall give his heritage to his father’s brothers;
if his father had no brothers, you shall give his heritage to his nearest relative in his clan, who shall then take possession of it. This will be the statutory procedure for the Israelites, as the Lord commanded Moses. Joshua to Succeed Moses.
if he has no daughter, you shall give his heritage to his brothers;