Gina can write 3 pages per hour. Emily can write 5 pages per hour. If they both write for n number of hours, how many pages will they write altogether?