clear()
setFillColor(blue)
repeat(2){
forward(100)
right()
forward(160)
right()
}
hop(20)
right()
hop(30)
left()
setFillColor(white)
repeat(2){
forward(60)
right()
forward(100)
right()
}
val first:Int = 160*100
val second:Int = 100*60
val third:Int = first-second
setPosition(0,-25)
write("Area of the first rectangle is " +first)
setPosition(0,-50)
write("Area of the second rectangle is " +second)
setPosition(0,-75)
write("Area of the blue region is " +third)