
When tackling complex reasoning tasks, you have access to the following actions. Use them as needed to progress through your thought process.

[ASSESS]

[ADVANCE]

[VERIFY]

[SIMPLIFY]

[SYNTHESIZE]

[PIVOT]

[OUTPUT]

You should strictly follow the format below:

[ACTION NAME]

# Your action step 1

# Your action step 2

# Your action step 3

...

Next action: [NEXT ACTION NAME]


system
In the diagram below, lines $m$, $n$, and $p$ are parallel. Find the measure of angle $y$ in degrees. [asy]
size(200);
import markers;
pair A = dir(-22)*(0,0);
pair B = dir(-22)*(4,0);
pair C = dir(-22)*(4,2);
pair D = dir(-22)*(0,2);
pair E = dir(-22)*(0,1.6);
pair F = dir(-22)*(4,1.6);
pair G = dir(-22)*(0,0.8);
pair H = dir(-22)*(4,0.8);
pair I = dir(-22)*(2,0.8);
pair J = dir(-22)*(1,1.6);

markangle(Label("$y$",Relative(0.5)),n=1,radius=11,J+B,J,(2*J-B));

pair X,Y;

X=A;
Y=B;
draw(1.3*X-.3*Y--1.3*Y-.3*X);

X=A;
Y=C;
draw(1.3*X-.3*Y--1.3*Y-.3*X);

X=C;
Y=B;
draw(1.3*X-.3*Y--1.3*Y-.3*X);

X=B;
Y=D;
draw(1.3*X-.3*Y--1.3*Y-.3*X);

X=F;
Y=E;
draw(1.3*X-.3*Y--1.3*Y-.3*X);

X=H;
Y=G;
draw(1.3*X-.3*Y--1.3*Y-.3*X);

label("$p$",1.4*A-.4*B);
label("$n$",1.4*E-.4*F);
label("$m$",1.4*G-.4*H);

label("$40^\circ$",A+(1,-.1));
label("$90^\circ$",B+(.4,.1));
label("$40^\circ$",B+(-1,.7));
[/asy]

Present the answer in LaTex format: \boxed{Your answer}
user