A researcher is working on a project that involves reading scientific articles and writing summaries. The researcher can read 1 article every 20 minutes and write 1 summary every 30 minutes. If the researcher spent 2.5 hours writing summaries and completed a total of 15 articles and summaries combined, what was the total time, in hours, the researcher spent on both activities?