You can only use Pythagoras' Theorem when you are given 2 sides of a right-angled triangle and want to find the third side.