So you have gotten to

and then let x= t+ p (or t= x- p) to get

.

But now, since the "x" and "t" in the integrals are "dummy variables" (they don't appear in the final integral so we can change letters at will), we can write that as

Now, put those integrals back together into one integral.