I am trying to implement the algorithm, but I am confused here to start as multiple edges have same weights,please assist

I am trying to implement the algorithm, but I am confused here to start as multiple edges have same weights,please assist

Copyright © 2021 JogjaFile Inc.