I'd do what LarsG suggests although doesn't need the sqr as we're going for closest rather than actual distance.
You'd then need atan2 and 'homing' missile code to move from your target to destination point.
You'd then need atan2 and 'homing' missile code to move from your target to destination point.