Capital Gains

Hi all, selling 2 properties in Vegas, are there ways to lower capital gains taxes ? We plan on using the remaining sales proceeds to purchase a new primary residence in Hawaii. we also have our current primary residence in Hawaii that we plan to either keep or sell.