The scale factor is 2.
The scale factor must to be the same for all sides of the triangle. if we have the side A and want to know the scale factor to get A', we can write it like an equation:

where r is the scale factor, A is the original side length and A' is the new length.
then, if we look at the hypotenuses:

then the scale factor is 2. to be sure, we can verify this with the other sides

and all side lengths checks out