Great question — answering as the UphillTech team:
There was a removed laundry sink on the left side and a clothes washer on the right. You should be able to connect the new sink to the pipe on the left (add new p-trap) and extend the pipe on the top of the p-trap on the left for the clothes washer (the existing condensate hose can still drain into this pipe). I cannot speak as to what the pipe you marked blue is for, as I cannot see enough to decipher its purpose. The pipe on the right is a drain pipe that comes from above and passes down to below the floor. You can tell it is a drain as they did not use 90° elbows to offset it into the wall above. Before this pipe enters the floor, there is a drain takeoff for a clothes washer. There is...
Full answer by pdd: https://diy.stackexchange.com/a/283968 (CC BY-SA 4.0).
Need it done for your business? UphillTech.