Let x be the initial amount of cookies.
On Tuesday, it only remains x/2 of the initial cookies.
On Wednesday, (x/2)-3
And on Tuesday, ((x/2)-3)-2
On Friday, she only had 7 cookies left; this means that
Solving for x
Therefore, she baked 24 cookies on Monday