You can find x by using the pythagorean theorem:
![(2x+1)^2+(4x)^2 = (5x)^2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/zzmzb7jocfcm7rp575y6192eqn0yrxumwn.png)
![4x^2+4x+1+16x^2=25x^2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/7rvowjoekw2f36m86nwcmukln3562m6cxr.png)
![20x^2+4x+1 = 25x^2](https://img.qammunity.org/2020/formulas/mathematics/middle-school/4vc6nb1n6r79m7j6dl8pxnsm2c9ke300i3.png)
Bring everything to the same side:
![5x^2-4x-1=0](https://img.qammunity.org/2020/formulas/mathematics/middle-school/vb48zym7pw3c332x2ilv5rhd90ax4dbgoo.png)
The solutions to this equation are
and 1. We can't accept the negative solutions because it would lead to negative lengths, so we have
![x=1](https://img.qammunity.org/2020/formulas/mathematics/high-school/tm1gspaocfnp875ybbxdnb3weyr5fcnjyq.png)
This implies that the triangle is a 3-4-5 triangle. Now, you can use the law of sines to state
![(5)/(\sin(90)) = (4)/(\sin(y)) \iff \sin(y) = (4)/(5) \iff y = \arcsin\left((4)/(5)\right)](https://img.qammunity.org/2020/formulas/mathematics/middle-school/mtwb39e9x1kwl7br7cmkddvmaj1c4s4z7z.png)