you might want to look up "bra - ket" notation or "dirac notation" in Griffiths book, then I can explain if you don't understand, but basically:
p|p'> = "p operator on p-eigenstate with momentum p' " = p'|p'> (I denote operator with the letter and eigenvalues with prime"
since p = -i h d/dx, we can do the same operation on the right hand side, but with <x'|p'> as just an arbitrary function of x' and p'
The basic idea is that, without getting too much into math behind it;
|a'> is a vector in hilbert space, it denotes the state with quantun number a'
a|a'> = a'|a>
ok?
these are called "kets"
now the dual vector, called "bra":
<a'|
we can "think" of this as the ket's beeing column vectors and bra's as row vectors:
<a''|a'> is then a number
ok, this was assuming that a',a'' are discrete quantum numbers
now, for x and p, which are continuous, we can use the same notation, but we can not imagine/represent them as discrete vectors as we do in introductory linear algebra.
Please, also check out this recent thread:
https://www.physicsforums.com/showthread.php?t=318899
Good Luck, have fun