using pythagorean theorem, you can find the hypothesis of one triangle.
2^2+b^2=4^2
4+b^2=16
b^2=14
take the square root and you would get b=3.7
After, you would do the same thing, except use 3 for A.
3^2+x^2=3.7^2
9+x^2=13.69
x^2=4.96
take the square root and get x=2.2