It would look like this:
Though, you should definitely precompute the 4 values and store them in variables instead of calculating them each time you run this.