In part a electricity always seeks the easiest path to the ground. It tries to find a conductor, such as your body which is 70% water which is a conductor as well.So if you are grounded and you a power line, electricity will pass through you and shock you.
There is a potential diffrence between the ground and the live wire, so you get shocked beacuse you are the path between the two.
But in part b, just like birds can safely sit on a power line without being shocked, a tightrope walker can do the same. To be shocked, there must be a potential difference across two points of the persons body in this case the feet. When standing on a power line, there is no potential difference between the feet, so you cant be shocked. But if you were to be touching the ground also you would be shocked as well as if you slipped or somthing and a part of you came in contact with the other wire or the ground at the same time you could be shocked.
🙂