A triangle has sides 6 cm and 8 cm enclosing an angle of 90∘90^\circ90∘. Use the cosine rule to find the third side.