Updated solutions to Logic-1, Logic-2