How to hang a picture? What a strange question? It's simple. We take a piece of rope, attach its ends to the picture frame on the back side, then drive it into the wall. nail and throw a rope over the nail. The picture is hanging. If you pull out the nail, then, of course, it will fall. But Professor No wonder acted differently. At first, he attached the rope to the painting in the same way, only he took it a little longer. Then he hammered two nails into the wall nearby and threw a rope over these nails in a special way. The painting hangs on these nails, but if you pull out any nail, the painting will fall. Moreover, the professor claims that he can hang a painting on three nails so that the painting hangs on all three, but if any nail is pulled out, the painting will fall. You have two tasks: indicate how you can hang the picture in the right way on
a) two nails;
b) three nails.