Hey there!:
CaTiO3
*The corners are shared by 8 adjacent neighbors so only contribute 1/8 each,thus 1 Ca in the unit cell .
*The center is totally encased in the unit cell, thus 1 Tiin the unit cell
.
The faces are shared by 2 adjacent neighbors so onlycontribute 1/2 each
6 * 1/2, thus 3 O in the unit cell.
Hope that helps!