In order to identify if the triangles are similar, you first take into account the rect angle of the triangles. Form there you can notice that side ON in the bigger triangle, is similar to the side as RQ in the little one.
So, you calulate the proportion between sides ON and RQ, just as follow:
Then, the proportion of those sides is 2. This proportion must be the same for the other similar sides of both traingles, in order to conclude that the triangle are similar.
Hence, the triangles are similar