Two shipping companies charge different amounts to ship a package. Company A charges a fee of $6.50 and $0.35 for each pound. Company B charges a fee of $7.25 and $0.25 for each pound. Write an equation that could be used to find p, the number of pounds each package would have to weigh for the total cost of shipping the packages to be the same.