Any help would be appreciated please, I am really struggling with this concept.

A thin rigid pole is to be carried horizontally around a corner joining two corridors of width 1m and 0.8m, respectively. Find the length of the longest pole that can be transported in this manner.

Thanks very much in advance