How to create a perpendicular line from arc mid point?

I'm trying to make a definition that can do something like the image attached.

 

Any help would be appreciated, thanks in advance!