How to fix Back/Front Focusing mechanically?

My Camera (D5200) has back focusing when using the viewfinder, when focusing with liveview is ok, even when I use f/8 it doesn't focus the correct object, is there any way of fixing this using traditional metods? (Any tool to use) I have heard of a hex key behind the mirror but it is for the mirror itself as I understood, not the real problem.

crwdns2934089:0crwdne2934089:0 crwdns2934093:0crwdne2934093:0

crwdns2934109:0crwdne2934109:0

crwdns2889612:0crwdne2889612:0 0
crwdns2934285:0crwdne2934285:0