selling co owned condo

My wife and I are co-owners of a condo with our daughter.  She is going to sell and buy a new house with her husband.  Can they take all the profit and roll in into their new house?.  Then can they gift us any money that we would have earned from the sale?