Question 1049397
{{{P=4+x}}}
{{{A=x-2}}}
I'm assuming you mean the total of Brian's, Peter's and Amy's ages is 26.
{{{x+P+A=26}}}
Substituting,
{{{x+(4+x)+(x-2)=26}}}
{{{3x+2=26}}}
{{{3x=24}}}
{{{x=8}}}
Then,
{{{P=4+8=12}}}
{{{A=8-2=6}}}