Write and solve equations forthe following situation.
The sum of Patrick's age and Anthony's age is 49. Patrick's age is one more than twice as old as Anthony. What are their ages?