In the figure above, lines l and k intersect at point Q. If m=40o and p=25o, what is the value of x ?