There are 8 green markers and 36 markers in total.
The probability of picking a single green marker is 8/36 or 2/9.
Since the marker was replaced, you still have an 2/9 chance of drawing a green marker on the second draw.
P(both green) = 2/9 • 2/9 = 4/81