Corrected Recta.cs according to codeReview1