for this photo i had bring the front image closer and put the focus on the back object so that they have good distance
For this photo in order to achieve dept of field i had to put the second object further back creating a lesser focus and make the front object the main focus
Distance is the key. Good work.