Use the Pythagorean Theorem.
a^2+b^2=c^2 is the formula.
Since a=5
b=12
We can plug these values in.
5^2+12^2=c^2
25+144=169 (or c^2)
the square root of 169 will get us 13.
Hence, the third side length is 13 units.
Hope this helped!