Cant figure out what Im doing wrong here

OK input capture is only on one PIN that is why i was using interrpts . I wanted to use two pins