Article snapshot taken from Wikipedia with creative commons attribution-sharealike license.
Give it a read and then ask your questions in the chat.
We can research this topic together.
Acid medication are, because of pH partition, secreted to a higher extent when urine is basic. In the same way, basic medications are secreted to a higher extent when urine is acidic.
Unless else specified in table boxes, then ref is Rang, H. P. (2003). Pharmacology. Edinburgh: Churchill Livingstone. ISBN0-443-07145-4. Page 112
Unless else specified in table boxes, then ref is Walter F., PhD. Boron. Medical Physiology: A Cellular And Molecular Approach. Elsevier/Saunders. ISBN1-4160-2328-3. Page 802
Unless else specified in table boxes, then ref is Rang, H. P. (2003). Pharmacology. Edinburgh: Churchill Livingstone. ISBN0-443-07145-4. Page 113
^ Rang, H. P. (2003). Pharmacology. Edinburgh: Churchill Livingstone. ISBN0-443-07145-4. Page 112
^ Walter F., PhD. Boron. Medical Physiology: A Cellular And Molecular Approach. Elsevier/Saunders. ISBN1-4160-2328-3. Page 802