Two hot air balloons, one purple and one gold, took off at the same time. The purple balloon started from sea level and the gold balloon started from a hill

meters above sea level.
The gold balloon began climbing at a constant rate of

meters per second. The purple balloon began climbing at

meters per second.
After how many seconds were the balloons at the same altitude?