Neither of these triangles are true because they don't work with pythagoras but anyway...
The triangles are similar so the sides will have the same ratio, all you have to do to find that ratio is 15/6 which equals 2.5 so 10*2.5 =25 which is n
Therefore: n=25
Hope this helps :)