Find the perimeter of the rectangle whose length is \(40\) \(cm\) and a diagonal is \(41\) \(cm\).
In the case of right-angled triangles, identify the right angles.