I am looking at my code book and a kitchen sink in 2 fixture units and as long as you upsize the drain for the shower and the kitchen sink to 2 1/2 or 3" it would be legal