Own bitcoin pool miner algorithm I receive these variables from the mining pool:

job_id, prevhash, coinb1, coinb2, merkle_branch version, nbits, ntime, clean_jobs.

What must I do with them? 

Can you write step by step formulas how to solve that problem?

What must I respond to the pool?
Are you aware of the stratum protocol definition? I found a description here: https://slushpool.com/help/#!/manual/stratum-protocol. As a prerequisite, you need to know how block hashes are computed. See https://en.bitcoin.it/wiki/Block_hashing_algorithm for the definition.

When you'd compute hashes for solo mining, only hashes that meet the current difficulty are valuable. In contrast, when pool mining, you will submit hashes to the pool which meet a significantly lower difficulty requirement, so the pool can see that you're actually working. The number of "shares" that you produce will determine the portion of the block reward allocated to you when the pool finds a block.

Note that I cannot provide code samples or more detailed explanation, as I've never coded a bitcoin miner. Since you want to write the mining software, it's your job to find out :-)