Don't mix Longline flying into this....as that opens up a whole new can of worms.
In a single engine helicopter....when it comes to engine failures....Altitude is your friend. Planning your route to favor suitable landing sites is a good plan as well.
Spend some time with your Instructor(s) discussing all this.