Another way: Pieter rides west at p km/hr so after 't' hours he will be pt km from his house.
Jing Jing rides at rides west at j km/hr so after 't' hours he will be jt km from his house. But Jing Jing started "a" km to the west of Pieter's house so after 't' hours Jing Jing will be jt+ a km from Pieter's house.
They meet when they are at the same place so the same distance from Pieter's house: jt= pt+ a. Subtract pt from both sides: jt- pt= a. Factor t out on the left: (j- p)t= a. Divide both sides by j- p: t= a/(j- p).
Jing Jing was riding at j km/hr so he will have ridden aj/(j- p) km.