The sanitary sewer needs to be connected to the sink. The storm sewer will be connected to the floor drain. If you are in an older home, where they are shared, you can do it, but you will have to dig the floor and make the connection sub-slab with rigid connections.
Let's Get It Fixed!
HomeX virtual experts will assess your issue (for free!) and can resolve simple problems.