Walkway left–
Floor the shelf takes–

Top-down view, to scale. The sofa is fixed at 90 cm deep and the bookcase at 200 cm long. The coloured bar is the walkway; the dashed outline shows what a 40 cm deep case would take.