Agents coding work but need add on two variable data

Kindly help me above coding…