they have different solutions but I frogor
x/10=(x+4)/12
It looks like you're utilizing similar triangles, so you're likely using ratios of segments when solving for x.
The first one is AAA triangle similarity (since SN and PO are parallel), and so you know x/(x+4) = (x+10)/(x+16), and you can solve for x.
The second is also AAA similarity (given right angles, and vertical angles). So (x-3)/6 = (x+2)/16. Again, you can solve for x.
You can prove by similarity: triangles have one common angle, the bases are parallel to each other, and the sides are located on common straight lines, which means that all their angles are equal.
x/10=(x+4)/12