Xingze M. answered 11/01/20
Recent PhD in theoretical physics
Being held, the block feels a net force of zero.
Lying on 45 degrees about the horizontal, the gravity pulls the block with force mg sin(45)=5*1.414=7.07N
The friction is to balance this force, so the friction is 7.07 N