Help on creating a 3 live UI for a pacman clone using de UI tools

Helo guys! im a beginner in unity and im trying to build a pacman clone just for practice using as a reference the survival shooter tutorial and doing good so far learning a lot but i got stuck on the HealthHUD part because a dont want to use a slider for health but rather have 3 pacman images and loosing one by one each time the player gets hit by the enemy and restarting the level

i know it looks bad plz help

Panel with a layout component to make the lives “line up” in the panel, add a script which adds/removes lives images as children (prefab the lives image for use in the script).