(1)BD=x,CD=y
x+y=10
xtan30=ytan40
x=5.924
y=4.076
AB=x/cos30=6.84
AC=y/cos40=5.32
(2)AP=4t,CQ=3t,BQ=30-3t