Not sure what your question is
But a receptor attaches to the membrane
This activates something, leading to
ATP getting cleaved from the arrested G-protein complex leaving ADP and Pi; there's the alpha, beta, and gamma subunits. One of the subunits activated by the removal of ATP travels to the place where the reaction occurs and provides some type of signal leading to a cAMP cascade
Edit: I meant GTP not ATP and GDP not ADP