First equation is what we called it “US bond equivalent yield” due to US bond pays twice coupons a year. It is a convention to calculate this way. There is no derivation for that. Second equation is just to convert the US bond yield (or equivalent yield) into yearly yield. It is very straight forward way to convert a semi-annual yield into a yearly yield. That’s it.