We are about to move into a house that currently has the weirdest utility sink/washing machine drain setup I have ever seen in a basement. The pictures below show that the washing machine is currently draining into a utility sink. The utility sink has a broken utility sink pump underneath and so someone rigged a sump pump inside of the sink. The sump pump drains into what looks like a 4"-5" pipe that is about 7 feet up against the wall. Since it is a sump pump in the sink, the sink has standing water. I will be replacing the sink along with the pump underneath the sink as the main drain pipe looks to be too high to just drain normally. Can you look at the pictures and give suggestions on how to pipe all of this so it is to code and is safe and won't have standing water? Any suggestions would be appreciated. Thank you in advance.