This regular hexagon has been divided into four trapezia and one hexagon. If each of the five sections has the same perimeter, what is the ratio of the lengths $p$, $q$ and $r$?