Step-by-step explanation:
We are given a triangle with two sides indicated and the third side unknown.
Note that for right angled triangles we can solve for unknown sides by using the Pythagoras theorem as shown;

For the first triangle we have the sides a and b as;
![undefined]()