Khara buys a shirt for $24 and 2 pairs of pants. She doesn't remember the cost of the pants. She knows she spent a total of $102. Which equation would you use to find the cost of a pair of pants?
A.p + 24 = 102
B.2p + 24 =102
C.24p + 2 = 102
Which is it? a,b,or c.