A girl leaning against a woman's shoulder while sitting on a bench.
A woman and a girl are sitting beside each other on a bench.
The girl leaning against the woman's shoulder in sentence 1 would be sitting beside her, and vice versa.
(-x)
(-x)