multiplying square roots with coefficients