Sorry! Made a mistake in the first post... this is the correct question

By considering a right angled isosceles triangle, or otherwise, show that

1 + 2 sin 45

5 cos 45 - 2 sin 45

in the form a + b root 2 where the constants a and b are to be found...