created calculation for area with info given

created calculation for area with info given