Yo sup??
This question can be solved by applying the properties of similar triangles
the triangle with sides 5x and 20 is similar to the triangle with sides 45 and 35
The similarity property used here is called AAA ie angle angle angle property as all the three angles of the 2 triangles are equal.
therefore we can say
5x/45=20/36
x=5 units
Hope this helps