She made a mistake on step 3
The
is not the same as

This is what her steps should look like

Since we get the same number on both sides, this means the last equation is true. This means the first equation is also true. Therefore, she does have a right triangle. Refer to the converse of the pythagorean theorem for more info.