`T(1+costheta)-Nsintehta)=Ma`……(`i`)
FBD of wedge from ground frame
`mg sintheta-ma costheta-T=ma`
`rArr mg sintheta-T=ma(1+costheta)`……(`ii`)
`N=m(gcostheta+asintheta)`…….(`iii`)
Using `(i) +(ii) (1+costheta)+ (iii) sintheta`
`mg sintheta+ mg sintheta costheta=`
`Ma+ma(1+costheta)^(2)+mg sintheta costheta+masin^(2)theta`
`rArr a=(mg sintheta)/(M+2m(1+costheta))`
given `theta=37^(@)`, `m=5kg` and `M=32kg`
so, `a=(3)/(5)m//s^(2)`