A little example from Mozart:

MGTA ex 13.1

Some examples of connecting V7 and inversions to I:

 

MGTA ex 13.2

LT means leading tone

7 means the seventh of the dominant chord.

NB Pay attention to the arrows: tritone resolving to a sixth or a third, except...

NB Pay attention to the presence or absence of the fifth in V and I!