It's easier to understand if you move the d to the other side of the parenthesis. It is the same problem just easier to visualize
d(c-4)
now you multiply the d by each term inside of the parenthesis
d times c is
dc
d times -4 is
-4d
put those together to get
dc-4d