Answer :

[tex]5p-14=8p+4\\ 3p=-18\\ p=-6[/tex]
[tex]5p-14=8p+4\ \ \ \ |add\ 14\ on\ both\ sides\\\\5p=8p+18\ \ \ \ |substract\ 8p\ from\ both\ sides\\\\-3p=18\ \ \ \ |divide\ both\ sides\ by\ (-3)\\\\p=-6[/tex]