Just pulled cam on my old junk engine, but you will need a few more steps
Pulled ip and gear in one piece since not using engine ever again
Pulled waterpump
Unbolted crank pulley and popped it off with rubber mallet. Got gear puller to loosen damper and then eventually me and friend used pry bars to pop it off. Then pull the metal plate off that blocks the gears. Two bolts at 10 oclock and 4 oclock hold the cam in under the cam gear. Pulling gear is easy with puller, just take off allen head bolt and washer, puller it off. You can get the two bolts out before the gear through the holes, its tight but i did. 1/2" socket IIRC.
Then rotate and pull cam and out it comes. But all of the rollers will fall down if you dont take the top of the engine off first, all mine ended up in oil pan before she goes to scrapyard.