Place the floor joist on the sill. For the wall that goes across the floor joist, if necessary, install nogging at the ends of the floor joist and place the outer wall ON the floor joist.
For the wall that should run along the floor joist, place the wall on the sill and AGAINST the floor joist.