The offices are in front of the library.=
The library is at the back of the offices.=
The library is behind the offices.