Find a subject in front of a background with depth. Take a close viewpoint and zoom in; you’ll need to be aware of the minimum focusing distance of your lens. Focus on the subject and take a single shot. Then, without changing the focal length, set the focus to infinity and take a second shot.
For this exercise, I took a couple of shots around Hucknall Train Station. For thess shot I used a Canon 7D (crop sensor) with a Canon 70-300mm lens set at ISO 200 and shutter priority 1/1250, f/4.5, 100mm.
The following shots were taken – the first with the reverse of the ticket reader in focus and the steps out of focus, the second with the steps almost in focus and the ticket reader out of focus.