I'm assuming that you are saying that you or your family added the second floor without permits!
You will not be able to sell the home without getting a certificate of occupancy for the second floor. This will require the same process as if you were just getting started. You need to apply for permits and you need to get inspections for plumbing, electrical and from the building department. The inspections are needed to determine if the work was done according to building codes. The inspections can get a little tricky since the inspectors need to see the work done inside the walls. If there are no telltale signs of illegal work then you might be OK.
What was done on the second floor? If you built an apartment you will also have to check the zoning for your location. The zoning and the type of home must match. You cannot build a 2 family home in an area zoned for single family homes.
You need to start with either an architect or a general contractor that will draw up plans for the work done and to apply for the permits. They can also advise you of any problems they see at the moment. Good luck.
Century21 Yve R.E.
Licensed R.E. Agent
NYS Certified Residential Appraiser
The last solution is to get a cash buyer ( if the price is right)
Century 21 Best Inc.