As per section 54B, both lands have to be Agricultural. Further, the capital gain has to be invested in the new asset w/i 2 yrs. Till the time it has to be invested in CG accounts scheme before return filing due date. You have not provided any such details in your question.