to square
repeat 4[forward 150 right 90]
end
to tri
repeat 3[forward 150 right 120]
end
to door
repeat 2[forward 70 right 90 forward 50 right 90]
end
to chimney
forward 55 right 90 forward 20 right 90 forward 20
end
to move1
right 90 forward 50 left 90
end
to move2
left 90 forward 50 right 90 forward 150 right 30
end
to move3
penup right 60 forward 20 left 90 forward 35 pendown
end
to house
square move1 door move2 tri move3 chimney
end