if 27 to the power k is equal to 9 divided by 3 to the power k.find the value of 1 by k to the power 2

The value of 1 is 1. Your last sentence makes no sense to me. Did you omit the word "divided?"

i.e., should you have written "Find the value of 1 DIVIDED by k^2".

Your stated facts allow you to calculate k.

27^k = 9/3^k
(27^k)*(3^k) = 9
81^k = (9^2)^k = 9
9^(2k) = 9
2k = 1
k = 1/2

1/k^2 = 4