find the dimensions of a rectangle if the perimeter is 10cm and the area is 3cm squared

2 (L + W) = 10

L + W = 5
L*W = 3
L + 3/L = 5
L^2 -5L + 3 = 0
Use the quadratic formula to solve for L