The number of ways of picking two small cubes =64C2=32×63 The number of small cubes with exactly two facespainted red = 2 x 12 = 24 (Since two such cubes will be obtainedfrom each edge of the large cube.) The number of ways of picking two such cubes =24C2=23×12 So the required probability =