Four-body quantum system in the presence of solvable potential