How do I make the camera focus off to the side?

Im makeing a game where I want to UI to bee half of the screen and the other half to be the player moving. I cant figure out how to make the camera focus on the player on the player off to the side.

If you meant exact half and you mean horizontal then change camera x position to Player.X()-(CameraWidth()/4)
Or maybe it will be Player.X()-(CameraWidth()/2)
IF UI will be on the left so player is on the right
IF vice-versa then change + to - in that expression
IF it is not exact half then Player.X()-SOME NUMBER for example 100