Two sides of a triangle are perpendicular. If the two sides are 8cm and 6cm,…