Polar Form of a Complex Number

Drag point A around. Be certain you understand where the elements of the highlighted text come from.