Question: display multiple graph in array

i want to display a1,a2,a3 on one side and b1,b2,b3 on another sides  that is in an array (one side a1,a2,a3 graph and another side b1,b2,b3 graphs)

 my codes are 

a1:=plot(x^2,x=1..2);a2:=plot(x^2,x=3..4);a3:=plot(x^2,x=4..5);
b1:=plot(x^3,x=1..2);b2:=plot(x^4,x=1..1);b3:=plot(x^5,x=1..2);
A:=([a1,a2,a3])
B:=([b1,b2,b3])
with(plots):display([A,B]);

Please Wait...