Separate the variables. Divide both sides by tan(y) I think you can finish from there. If not tell me in the thank-you note form below and I'll get back to you by email. (No charge ever). Edwin