From where the Painter is, you have to possess the bed in the next cell by the bucket/spoon, and wait for the guard closest to look left, then press the Painter icon in the top left. The painter will go under the bed in the next cell.
Then you have to possess the ledge to the right just by the swat guard that is laying down, and open that ledge, the guard will fall, and then continuously go up and down, you have to possess that guard, and as he climbs the stairs, possess the coke can, then the panel beneath the stairs (bottom right). When both guards are climbing up the stairs, pretty the painter icon, which will call the painter under the stairs.
Wait for the one guard to walk left and the other to climb up right, then possess the cog just next to where the ledge gap is (you have to use a guard to do this) and then when the coast is clear (one guard walking left the other guard climbing right) press the painter icon, and the painter will climb into the shaft BETWEEN the ledges. Activate the ledges to close the gap, and then go as far left as possible and press the painter icon. The painter will roll towards the left.
Go into the rockers cell as a ghost, and activate the drum kit to alert the guard, then activate the ledge below him to make him drop. Press the painter icon to get the painter into this cell, close the ledge, and then get him to the far left of the punk rockers cell. DONE!