An electric dipole p-> (-> is vector symbol) where p-> = (5x10^-15 C m, -5x10^-15 C m, 0 C m) located at r-> = (0 m, -0.005 m, 0m) Q = 1x10^-6 C at origin.

What's the torque on the dipole?

you don't really need to write in the arrows. Anyone familiar with the topic knows these are vector quantities.

Torque = p x E

you have p, so how is E defined in terms of Q and r?