If the moving speed of point P is 1 and the moving time is t, then the moving distance of point P is t, that is, AP=t,
If the moving speed of point Q is 2 and the moving time is t, then the moving distance of point Q is 2t, that is, BQ=2t, so AQ= 10-2t.
So when AP = t, AQ = 10-2t.