7 times a number p, decreased by 4, is equal to 31. Which equation represents this situation?
4−7p=31
7(p−4)=31
7p+4=31
7p−4=31