mary is 2 times as old as her sister jessie . if the sum of their ages is 18 how old are both sisters