Accelerated course, lesson 15, puzzle 6

How do you solve puzzle 6 in lesson 15? I solved the puzzle, but there is an extra math block that can’t be deleted which is not letting me move on to the next puzzle.

The only locked blocks belong to the “draw a square” function. You shouldn’t need to touch that. Just use it as a reference for how to add parameters to your triangle function.

Here is my solution: