You have two shelves (top and bottom) and two types of gloves (red and black). On the top shelf, a proportion of the gloves are red, while on the bottom shelf, a proportion of the gloves are red. You select a shelf uniformly at random and pick two gloves with replacement from that shelf. Both of them are red. If and , find the probability you selected from the top shelf.