A wooden crate is shaped like a cuboid and stands on level ground. Its bottom corner at the back is the origin. The crate measures 4m along the x-axis, 8m along the y-axis and 8m in height. A rope joins the origin to the opposite top corner, as in the figure. What is the length of the rope?