At a concession​ stand, one hot dog and one hamburger cost ​$3.75 ​; one hot dog and cost ​$12.25 . Find the cost of one hot dog and the cost of one hamburger .