pythagoras theorem: how can you find the length of two sides of a triangle when only given one side

You can't, you need to be given two sides and a right angle to use pythagoras's theorum. But if you have another angle you might also be able to do it.