Patel is 5 yrs older than sam. In 2 yrs time,Patel will be twice as old as sam. How old is each now???

p = s+5

p+2 = 2(s+2)