the price elasticity of demand is defined as

Evaluating the derivative:

This is technically an answer, but it isn't much help as we have two unknowns (x,p) on the right. However you are given the demand function, so you know the relationship between x and p. subsitute

which simplifies to:

i assume this is what your text book says (remember own price elasticity is almost always negative)