Marshall earns a salary of $36,000, and each year he receives a $4,000 raise. Jim earns a salary of $51,000, and each year he receives a $1,500 raise. How many years will it take before Marshall and Jim earn the same salary?