Find the value of k if 3,k,48 are in G. P.

Use your definitions.

k/3 = 48/k
cross-multiply and solve for k

You should get 2 values of k