Two students are reading a novel. Ashley reads 10 pages per day. Carly reads 8 pages per day, but she starts
early and is already on page 40.

d=days
p=pages

Ashley: p=10d
Carly: p=8d+40

On day ____, both girls should be on page ____.