A string of lenght 4m is attached to two points A and B 2m apart, in the same horizontal level. A smooth ring of mass 80gm threaded to it is acted on by a horizontal force p which holds it in equilibrium at a point vertically below B. find the tension in the string and the magnitude of P