tan x + tan y = π/4, which gives tan(x+y)/(1-xy) = π/4, which gives x+y/(1-xy) = 1. Therefore x + y + xy = 1.