The scenario in which Janet often encounters John at school and because of this, they end up becoming friends illustrates how propinquity influences interpersonal attraction.
Propinquity refers to the proximity or physical closeness of one person to another. Because of their physical closeness, Janet and John become friends.