This post asks for the solution of a problem subject to various artificial constraints of the sort that frequently arise in homework problems. When asked repeatedly why he wants to impose these particular constraints (in the comment thread under Bob Terrell's answer), the OP has responded evasively and tried to change the subject.
Pending a more satisfactory response (which seems increasingly unlikely given the multiple missed opportunites for that response) I have voted to close and hope others will too.