How do I calculate this?

Having

A = (1,5)

B = (4,5)

C = (5,3)

D= C - dot(vec(BC), vec(AB)) * vec(AB)/|vec(AB)|^2

I am new with vectors and dot products so I have no idea how to calculate it.

.