I was gifted land 30 years ago and I sold it what sort of taxes do I pay? It sold for 20k+ more than its worth

Sold in alaska and live in OK If it helps