You need the hammer, and you get it by winning the fight that comes with it. Beat the character you are set against and the weapon is yours.
Once you have it, the walls in the tenements stop being scenery and become breakable, which is exactly what the task requires. Equip the hammer before you start swinging, since unarmed attacks will not do it.
Watch for prefects while you work. Destruction counts as trouble, and being caught mid-task means restarting the section from a less convenient position.