Get how much line contains in side polygon

24 Views Asked by At

I have area of the polygon and lenght of the line some thing like this in picture. enter image description here

How can i get that how much (%) line is inside/contains/overlap with polygon like in picture is almost 60%. what will be the formula?