You should also be aware that you can't just dump waste water, even gray water, into an open drain pit. All drains require a P trap. Maybe there are things we are not seeing in your photo, but you need to do more research than you have indicated here. A plumber on site may be wise.