Six persons F, G, H, J, K and L live in a building that consists of three floors. The bottommost floor is numbered as 1, the floor above it as 2, and the topmost floor is numbered as 3. Each floor has two flats- flat P and flat Q. Flat P is to the west of flat Q on each floor. Only one person lives in each flat.
K lives to the west of G, who lives below F. F lives in flat Q.
Two persons live between the floor of F and the floor of J.
| Case 1 | | Case 2 | |
Floor 3 | | F | | F |
Floor 2 | K | G | K | G |
Floor 1 | J | | | J |
| Flat P | Flat Q | Flat P | Flat Q |
H lives above L.
| Case 1 | | Case 2 | |
Floor 3 | H | F | H | F |
Floor 2 | K | G | K | G |
Floor 1 | J | L | L | J |
| Flat P | Flat Q | Flat P | Flat Q |
Neither H nor L lives in the same flat as F. So, case 1 is invalid.
Therefore, the final arrangement is:
Floor 3 | H | F |
Floor 2 | K | G |
Floor 1 | L | J |
| Flat P | Flat Q |
G lives in flat Q of floor 2.