I have a question how would I write an equation for this problem : Sally is 2 years younger than Bob. Let Bob be b years old, how old is sally? And Roger is twice as old as Sally how old is Roger?

s = b-2

r = 2s = 2(b-2) = 2b-4