Since "tan x = 8/15 and cos y = -(4/5) where x and y are in the same quadrant," it implies that "x" lies in QIII.
(but this fact doesn't play any role in what follows. So this part of the condition is excessive and unnecessary)
tan(2x) = (it is the formula for tan of double argument, one of the basic trigonometry formulas).
Therefore, tan(2x) = = = = = = .
Next, tan(2x-45) = (from the difference formula for tangent)
= = = = .