plz Help me how to approach this problem its difficult to understand how to implement , sorry newbie here