Arduino UNO R3 using two outputs dependent to different inputs

Please edit your post and add the code tags