so melissa allen has turned to another inmate, megan dooley, for help. you add 6 to 18 and it gives you the next answer. >> it's great. i'm not embarrassed when she helps me. i sit there and listen to her because i know shy ain't judging me and stuff. >> i treat people how i want them to treat me. math is one of my better skills. it comes easy to me. so something that she struggles with, that's easy for me, if i can help her with it, it's not going to hurt me to sit down for ten minutes and write out the multiplication tables. all i have here is time. why not use it for something constructive? 30, 40, 50 -- >> yes, okay. >> melissa sees learning math as a step toward getting her life back on track after years of drug addiction and prostitution. >> monday through sunday, nonstop, every day. there's not a day that passed, every day. i did crazy -- i looked like a damned fool. i could see myself out there. i looked like a damned fool, running around thinking i'm like [ bleep ]. probably smelled like one, i don't know. 37 years old. i can't do this no more.