# Question:problem with draw

## Question:problem with draw

Maple 2021

restart;
with(geometry):
with(plots):
_EnvHorizontalName = 'x':  _EnvVerticalName = 'y':
point(A, -1, 9):
point(B, -5, 0):
point(C, 6, 0):
triangle(ABC,[A,B,C]):
midpoint(M1,A,C): midpoint(M2,B,C):midpoint(M3,A,B):
rotation(J, C, Pi/2, 'counterclockwise', M1):triangle(AJC,[A,J,C]):
rotation(Ii, C, Pi/2, 'counterclockwise', M2):triangle(BIC,[B,Ii,C]):
rotation(K, A, Pi/2, 'counterclockwise', M3):triangle(AKB,[A,K,B]):
midpoint(O1,K,J): coordinates(O1):
midpoint(O2,A,Ii): coordinates(O2):
poly:=[coordinates(A),coordinates(J),coordinates(Ii),coordinates(K)]:

display(draw([A(color = black, symbol = solidcircle, symbolsize = 12),
B(color = black, symbol = solidcircle, symbolsize = 12),
C(color = black, symbol = solidcircle, symbolsize = 12),
J(color = black, symbol = solidcircle, symbolsize = 12),
polygonplot(poly,color = "DarkGreen", transparency = 0.5),
ABC(color = red ),
BIC(color = green),
AKB(color = grey),
AJC(color =blue)]),
textplot([[coordinates(A)[], "A"],[coordinates(J)[], "J"],[coordinates(Ii)[], "I"],
[coordinates(B)[], "B"], [coordinates(K)[], "K"],
[coordinates(C)[], "C"]],
align = [above, right]),  axes = none);
Error, (in geometry:-draw) the option must be of type equation or name. I don't see how to correct this error/

﻿