I agree with ur solution sir . But here's a shorter technique .
Let us take the semicircular part of the circle . Then , the two tension forces are downwards (if u take the upper half) and magnetic force is upwards . Then , balance the forces and u get the answer .