The two terms under the square root sign have a common factor of 4ω^2. The square root of that common factor is 2ω which moves out from under the square root sign. Factoring is basic algebra -- were you asleep when that was covered?