If 5 prisoners are locked in each cell, 4 will be left without a bed.
If 6 prisoners are locked in each cell, 2 beds will be unoccupied.
How many prisoners and how many cells are there?
Prove your answer true.