Has rental income been reported for the ADU? Is the ADU sitting on the same lot as the home? If no to the first question and yes to the second question then the same $250k/$500k gain exemption apply to both units and the basis of the property is increased by the cost to build the ADU.