2.2

function setup() {
  createCanvas(500, 500);
x = 250;
y = 250;
}

function draw() {
  background(mouseX,mouseY,50);
//ellipse
  fill('blue')
ellipse(x,y,200,200)

line(157,213,215,213)
//circle
  fill('blue')
circle(x-35, y-30, 50, 50)
circle(x+35, y-30, 50,50)
line(240,213,260,213)
line(310,213,343,213)

  //rect
  fill(0)
rect(x-45, y+23, 93,20)
  
triangle(200,163,300,163,250,63)
  //ellipse
  fill(0)
ellipse(x-35, y-30, 40, 40)
ellipse(x+35, y-30, 40, 40)
  
  text(mouseX + ", " + mouseY, 20, 20)
}