Cory has 24 dolllars more than 2x as much as Stan. Together they have 150 dollars. How much does each have?

If Stan has x, then Cory has 2x+24

add them up to get 150