From a grammar exercise book:
You put the fountatin in the middle of the room.
You had the plans back to front.
You thought they wanted the fountain in the living room, not the garden.
But don't admit anyting,
Only tell them what you didn't do!"
What does "had the plans back to front" mean?