You are provided two layout files, one using LinearLayout and the other using RelativeLayout.
The design in the LinearLayout above was updated to get this.
here is the code
See if you can implement an improved version of the above design but this time, using a ConstraintLayout combined with a ScrollView, a RelativeLayout, and a LinearLayout if all needed. Your final result should look like this