Half the perimeter of a rectangle exceed the length of one of its diagonals by one-third the length of the longer side. Find the tangent of the angle formed by its longer side and one of its diagonals.