The Activity ID would not be an autoNumber field. It would be a number and it would have to allow duplicates. The Activity table may have to have a composite key of ProjectID and ActivityID.
If this is just for display, then you cn concatenate the 2 keys together in a query. FullProjectID...