since this a 45 45 90 right triangle to get the side lengths you divide 2 times the square root of 2 and you get 2, since this has two congruent angles which makes it an Isosceles triangle. your a and b value are 2.