I'd be grateful with some help transforming formula in the attached pic for H

I am not sure from the way it is written whether the root sign covers both D and H

My solution has it as H = Q(squared) x S x L / 0.0071 x (D5)squared

Am I wrong if so where and why?

TIA

PS the formula are for calculating flow rates of gas and the drop in pressure over a length of pipe