Camshaft r&r

It doesn’t have to come out but will make it easier. Gently pull up and rotate the gear. There is a long shaft underneath that goes to oil pump. The shaft and gear are one piece.

DDF9C91B-E4CB-4B2A-BFFD-EE576B646DEA.jpeg