How do I integrate these two codes?

Printable View