AC being parallel to RP makes the triangles ABC and RBP similar. This means corresponding sides occur in the same ratio, so that

It's not clear from the picture what it is that you're supposed to find, but from the above relation we have

From this it follows that

and
