Co-ordinate geometry. (problem related to the arc and its tangent)

I have an arc with its center, radius, starting angle, ending angle and coordinate of start and end point also. I need to find the coordinate of end point of straight line of l length making the line tangent to the given arc at the end point of the arc. The line should also follow the direction of arc.

Please refer to the image attached with this question.

Is it possible?

Program in javascript or c# would be more fruitful to me.enter image description here

=================

1

 

Here is not a code-writing service. Where precisely did you get stuck on the math part of it?
– dxiv
2 days ago

  

 

As described in question and image attached, I am not able to find the co-ordinate of end point of tangent line in the direction of arc. Please refer the image which is more clear.
– Ramesh
2 days ago

=================

=================