please help me write the equation for the problem below
——————————————
A chess club has 500 members but is losing 30 members each year. A computer club has 150 members and is gaining 20 members per year. Wrote and solve an equation to find the number of years it will take for the two clubs to have the same number of members.