Diffie Hellman Key exchange

If we know public key of K, we have to find random element a which is very hard. Brute force, baby steps , giants steps which is why finding private key is hard.