Hints for the force
The electrostatic force $d\vec F$ on a small segment $dl$ of the rod given the field $\vec E$ of the other rod is $$ d\vec F = \lambda\, dl \,\vec E $$
Determine the field of one rod, and use the above expression to integrate the force it exerts on the other rod.
This is a 2D problem since, by symmetry, the force is in the plane containing both rods.
Hints for the torque
Take the point at which both rods are joined as the origin, then the torque on a small segment of one rod due to the field of the other is $$ d\vec \tau = \vec r\times d\vec F $$ where $\vec r$ is the vector pointing from the origin to the segment.
Integrate to find the total torque.
Addendum 1.
I started solving this problem, then I got to integrals I needed to compute to determine the electric field of one rod at a general location on the other, and I realized that there is no solution to this problem as stated. The force between the two charge elements at the end of each rod where they are joined is infinite (because the distance between them is zero). You can make this problem well-posed by considering a charge densities $\lambda_1, \lambda_2$ that goes to zero sufficiently quickly at the point where the rods are joined so that the integrals you have to perform don't diverge, but that would be a different problem.
Addendum 2.
I pointed out in the comments that the integrals you would need to compute to obtain the force between uniformly charged rods with joined endpoints diverges because of the charges that are at zero distance from one another at the vertex (place where the rods are joined).
Here are the integrals you need to compute as requested. Take rod 1 to be on the positive $x$-axis with left-hand endpoint at the origin, and take rod 2 to be angled at some $\theta$ measured counterclockwise from the positive $x$-axis with it's left endpoint at the origin as well. Let $r_1$ denote the radial coordinate along rod 1 and let $r_2$ denote the coordinate along rod 2 with $r_1=r_2=0$ at the origin. Given any two points on the rods located at radial distances $r_1$ and $r_2$, the squared distance between these points is $$ d^2 = r_1^2+r_2^2-2r_1r_2\cos\theta $$ which comes from some basic vector algebra, or equivalently, the law of cosines. Now, let's say we're computing the force on rod $2$ by rod $1$, then we also need the expression for the vector pointing from the point at position $r_1$ on rod 1 to the point at position $r_2$ on rod 2. This is given by $$ \vec d = (r_2\cos\theta -r_1)\,\hat x+r_2\sin\theta\,\hat y $$ The force of charge element $dq_1 = \lambda_(r_1)dr_1$ one charge element $dq_2 = \lambda_2(r_2) dr_2$ at the positions $r_1$ and $r_2$ along the rods is given by Coulomb's Law; $$ d\vec F = \frac{1}{4\pi\epsilon_0}\frac{dq_1dq_2}{d^3}\vec d = \frac{1}{4\pi\epsilon_0}\frac{\lambda_1(r_1)dr_1\lambda_2(r_2)dr_2 ((r_2\cos\theta -r_1)\,\hat x+r_2\sin\theta\,\hat y)}{(r_1^2+r_2^2-2r_1r_2\cos\theta)^{3/2}} $$ and the desired force is given by and integral over the lengths of both rods from $0$ to the length of each rod; $$ \vec F = \frac{1}{4\pi\epsilon_0}\int_{0}^{\ell_1} dr_1\int_0^{\ell_2} dr_2 \frac{\lambda_1(r_1)\lambda_2(r_2) ((r_2\cos\theta -r_1)\,\hat x+r_2\sin\theta\,\hat y)}{(r_1^2+r_2^2-2r_1r_2\cos\theta)^{3/2}} $$ Now you can simply play around with the function forms of $\lambda_1$ and $\lambda_2$ to determine what sorts of charge distributions give convergent integrals!