Kaitlin has two puppies. Puppy A weighs 12 pounds and is gaining 1.5 pounds each week. Puppy B weighs 18 pounds and is gaining 0.75 pounds each week. How many weeks, x, will it take for the two puppies to weight the same amount?