Hi,
There are six possible pairings of the two balls withdrawn,
Yellow+Yellow
Yellow+Green
Green+Yellow
Yellow+Black
Black+Yellow
Green+Black.
We know the Green + Black combination has not been drawn.
This leaves five possible combinations remaining. Therefore the chances tbowl the Yellow + Yellow pairing has been drawn are 1 in 5 or 1/5.