EPG-1 #46

I wasn’t able to find any existing post for this problem, but could anyone point me where the equation comes from? I didn’t know how to approach this problem.