Answer:
Suppose the distance from q to p is 12 metres.
then, distance travelled b y car m 2/3 will be:
                       12 * ⅔
                      = 24 / 3
                      = 8 metres
and distance travelled by car n 3/4 will be:
                       12 * ¾
                      = 36 / 4
                      = 9 metres
under these conditions, the fraction of distance b/w them will be:
                      9 - 8
                     = 1 metres
And under general conditions, (same as above)
                    ¾ - â…” Â
       by taking L.C.M
                  =  9-8/12
                  = 1/12 fraction