The product of 5 and a number p is increased by 12. The result is 77. Which equation represents this situation?
5p+12=77
5(p+12)=77
12p+5=77
p+5+12=77