In the attached image you can find both quantities in a line 4 being less than 10. To have the absolute value equation we note that 7 is equidistant 3 units from 4 and 10 or another way to figure this out is 4+10/2=7 therefore the equation can be written as |d-7|=3