All of the angles should be the same because a square has all equal angles and side lengths.
1/2 = 4/8
3/8 = 3/8
8 is the common denominator between these two fractions
To get the answer we can use proportion
40$ ------------- 100%
2$ ---------------- x
crossmultiply now
40x=2*100 /:40
x=200:40
x=5% - its the answer