Friction

Ans: 4
Please explain how to solve this sum. Please show working.I am unable to understand which should be the direction of friction in mass m where force F is applied.
Should friction be in direction of tension or Fcosø? This is my attempt:



@anirudh_nair
@AbhishekSingh
Can't this be done simply by substituting? I mean without seeing tan theta <mu..

@yogitapanchal
tension comes into play only if max frictional force provided is crossed by horizontal force being applied