x= dist moved by a bfore losing contact
decrease in pe of system= mgx
loss in pe =gain in epe = ke of 2 blocks
mgx = 1/2 ka^2 + mv^2
calc v^2 = gx - k/2m*a^2
when A loses contact vert eqm fcos

= mg
f = k a
solving a cos theta =.08
L/a+L = COS THETA cos theta = .1
calculate v