Atomic scale models for RBasubCusub3Osub(6.5) and Rsub(1-x)PrsubxBasub2Cusub3Osub(6.5) compounds : (R=Y and lanthanides)