Your final statement is wrong.
hence A cannot be solved
in polynomial time
It should be "hence B cannot be solved in polynomial time".
Because we started with A and knows that no polynomial time algorithm exists for A. Now, due to reduction we proved that, no polynomial time algorithm can exist for B also. So, there is no point in looking for a polynomial time algorithm for problem B.