Working on class work. Unit 1: DoF

In order to work on my skills, I have been taking Photography classes on and off. Most recently with the New York Institute of Photography. I was struggling a bit with the "Great Depth of Field (DoF)" using F/22.  The first picture has been taken in Oregon in one of the canyons near Salem, OR.  Taken at drawn...  Pentax K-1 Mark II, F/22, Exposure 20sec, ISO 200, 70mm, Center Weighted.

The second picture is a Shallow Depth of Field (DoF) . Pentax K-7, F/4.5, 1/250sec, ISO 100, 138mm, Pattern