what is tan p,out of p,8,q,6,r,and 10,in a fraction form?

Your question makes no sense as written.

There should be a figure that goes with this question. Are p, q and r the sides of a triangle with lengths of 6,8 and 10?

If so, tan P = 6/8 = 3/4 = 0.75

P is an angle (opposite side p) and should be capitalized