Scratch 13 - Perfect Elastic Collision Circles

There are two sprites. Sprite 1:

All you have to do is draw a really small circle sprite and code the sprite as follows:

For the Detection Sprite, which has no image, there is quite a large amount of code to be done:

This code continues on: